package com.adcc.loadsheet.billing.vo;

import com.adcc.loadsheet.billing.entity.SystemJobLogEntity;
import com.adcc.loadsheet.billing.util.DateTimeUtil;

public class SystemJobLogEntityVO extends BasisVO<SystemJobLogEntity> {

    //日志类型
    private Integer logType;

    //日志内容
    private String content;

    //生成时间
    private String createAt;

    @Override
    public SystemJobLogEntity toEntity() {
        SystemJobLogEntity entity = new SystemJobLogEntity();
        entity.setLogType(this.logType);
        entity.setContent(this.content);
        entity.setCreateAt(DateTimeUtil.toDateTimeForString(this.createAt));
        return entity;
    }

    @Override
    public String toJSON() {
        return null;
    }

    public Integer getLogType() {
        return logType;
    }

    public void setLogType(Integer logType) {
        this.logType = logType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateAt() {
        return createAt;
    }

    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }
}